// 引入常量
import { INCREMENT, DECREMENT } from '../const'


// 定义action的方法
const createincrementAction = (data) => ({ type: INCREMENT, data })

const createdecrementAction = (data) => ({ type: DECREMENT, data })


export { createincrementAction, createdecrementAction }